package com.common.platform.base.config.mail;


import lombok.*;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Set;

@Data
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Component
@ConfigurationProperties(prefix = "mail")

public class Mail {

    private Set<String> receivers;
    private String host;
    private int port;
    private String from;
    private String pass;
    private String nickname;
    private boolean flag;
}
